DOT NOTATION: To give a sprite a command, use its name followed by a dot and the command. That's dot notation!

  • Click Run to see that this program isn't working properly. What's wrong with it?
  • Change the name of the soccer ball from sprite to soccer_ball.
  • Change the name of the basket ball from sprite to basketball.
  • Then, put the correct sprite variable name in front of each command to score each ball in the correct goal!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)